﻿using System;

namespace Utk
{
    static class Coin
    {
        private static readonly Random Random = new Random();

        public static int GetRandomNumber(int max)
        {
            return Random.Next(max);
        }

        public static bool Throw()
        {
            return Random.Next(2) == 1;
        }
    }
}